package com.caiying.dota.domain;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name="tbl_video")
public class Video {
	public int id;
	public String thumb;
	public String link;
	public String intro;
	public String time;
	public String pub;
	public String menu;
	public String num_play;
	public String num_comment;
	public String ishd;
	public String title;
	public String segs;
	public String logo;
	private Narrator narrator;
	@ManyToOne
	public Narrator getNarrator() {
		return narrator;
	}
	public void setNarrator(Narrator narrator) {
		this.narrator = narrator;
	}
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getThumb() {
		return thumb;
	}
	public void setThumb(String thumb) {
		this.thumb = thumb;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getPub() {
		return pub;
	}
	public void setPub(String pub) {
		this.pub = pub;
	}
	public String getMenu() {
		return menu;
	}
	public void setMenu(String menu) {
		this.menu = menu;
	}
	public String getNum_play() {
		return num_play;
	}
	public void setNum_play(String num_play) {
		this.num_play = num_play;
	}
	public String getNum_comment() {
		return num_comment;
	}
	public void setNum_comment(String num_comment) {
		this.num_comment = num_comment;
	}
	public String getIshd() {
		return ishd;
	}
	public void setIshd(String ishd) {
		this.ishd = ishd;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSegs() {
		return segs;
	}
	public void setSegs(String segs) {
		this.segs = segs;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}

}
